//
//  BKMatchingScoreHeaderView.m
//  baokaodaxue
//
//  Created by dangyangyang on 15/5/31.
//  Copyright (c) 2015年 宏图教育. All rights reserved.
//

#import "BKMatchingScoreHeaderView.h"

@implementation BKMatchingScoreHeaderView


- (void)awakeFromNib{

    self.layer.cornerRadius = 3;
    self.layer.masksToBounds = YES;
    
}
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
    CGContextRef context = UIGraphicsGetCurrentContext();
    
    CGContextSetLineWidth(context, .5);
    
    CGContextSetRGBStrokeColor(context, .5, .5, .5, .5);
    
    CGFloat width = rect.size.width/3.0;
    CGFloat height = rect.size.height;
    
    CGContextMoveToPoint(context, width, 0);
    CGContextAddLineToPoint(context, width, height);
    CGContextStrokePath(context);
    
    CGContextMoveToPoint(context, width*2, 0);
    CGContextAddLineToPoint(context, width*2, height);
    CGContextStrokePath(context);

}


@end
